Skip to content

[18.0][FIX] purchase_order_secondary_unit: remove hide_secondary_uom_column from portal#3041

Closed
fsmw wants to merge 1 commit intoOCA:18.0from
fsmw:18.0-fix-secondary-unit-portal
Closed

[18.0][FIX] purchase_order_secondary_unit: remove hide_secondary_uom_column from portal#3041
fsmw wants to merge 1 commit intoOCA:18.0from
fsmw:18.0-fix-secondary-unit-portal

Conversation

@fsmw
Copy link
Copy Markdown
Contributor

@fsmw fsmw commented Apr 30, 2026

Removes references to hide_secondary_uom_column from portal templates. This method was never implemented on res.company — it belonged to an unmerged dependency module. The same fix was already applied to the report template in commit ff39d04d4.

Error:

AttributeError: 'res.company' object has no attribute 'hide_secondary_uom_column'
Template: purchase.report_purchaseorder_document

Closes #2951

…column from portal

Remove references to hide_secondary_uom_column in portal templates
that were never implemented (depended on an unmerged module).
The same fix was already applied to the report template.

Closes OCA#2951
@OCA-git-bot OCA-git-bot added series:18.0 mod:purchase_order_secondary_unit Module purchase_order_secondary_unit labels Apr 30, 2026
Copy link
Copy Markdown
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing about how you "restore databases", as the problem you mention shouldn't happen.

@pedrobaeza pedrobaeza added this to the 18.0 milestone Apr 30, 2026
@yostashiro
Copy link
Copy Markdown
Member

@pedrobaeza The issue does occur, and #2967 should be merged. 😓

@pedrobaeza
Copy link
Copy Markdown
Member

OK, my fault, I read bad. Reviewing and merging what proceeds.

@pedrobaeza
Copy link
Copy Markdown
Member

pedrobaeza commented Apr 30, 2026

Merging #2967, so closing this one as the other fully reverts the problem.

@pedrobaeza pedrobaeza closed this Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:purchase_order_secondary_unit Module purchase_order_secondary_unit series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Odoo 18.0: Error on purchase_order_secondary_unit.report_purchaseorder_document

4 participants